package com.th.cash.http

import com.th.cash.util.Constants
import com.th.basemodel.http.BaseRetrofitClient

object AppRetrofit : BaseRetrofitClient() {

    //默认的ApiService
    val splashService by lazy { getService(SplashApiService::class.java, Constants.getBaseUrl()) }

    val loginService by lazy { getService(LoginApiService::class.java, Constants.getBaseUrl()) }

    val mainService by lazy { getService(MainApiService::class.java, Constants.getBaseUrl()) }

    val productService by lazy { getService(ProductApiService::class.java, Constants.getBaseUrl()) }

    val setService by lazy { getService(SetApiService::class.java, Constants.getBaseUrl()) }

    val userLivingService by lazy { getService(UserLivingApiService::class.java, Constants.getBaseUrl()) }

}